package com.example.waterorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.waterorder.dto.BuildingMap;
import com.example.waterorder.entity.Building;
import com.example.waterorder.mapper.BuildingMapper;

import java.util.List;

public interface BuildingService extends IService<Building> {

    //查询所有building，渲染到学生注册宿舍楼选择框
    List<Building> selectAllBuildings();

    List<BuildingMap> getAllBuildingMap(String workerId,String lng,String lat);

    // 查询所有building的name
    List<String> selectAllBuildingsName();
}
